home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2008 February / PCWFEB08.iso / Software / Resources / Developers / XAMPP 1.5.4 / Windows installer / xampp-win32-1.5.4-installer.exe / xampp / apache / conf / extra / httpd-dav.conf < prev    next >
Encoding:
Text File  |  2006-01-08  |  1.6 KB  |  53 lines

  1. #
  2. # Distributed authoring and versioning (WebDAV)
  3. #
  4.  
  5. # The following example gives DAV write access to a directory called
  6. # "uploads" under the ServerRoot directory.
  7. #
  8. # The User/Group specified in httpd.conf needs to have write permissions
  9. # on the directory where the DavLockDB is placed and on any directory where
  10. # "Dav On" is specified.
  11.  
  12. <IfModule dav_module>
  13. <IfModule dav_fs_module>
  14. <IfModule setenvif_module>
  15. <IfModule authn_file_module>
  16.  
  17. DavLockDB "/xampp/tmp/DavLock"
  18. Alias /webdav "/xampp/webdav"
  19.  
  20. <Directory "/xampp/webdav">
  21.     Dav On
  22.     Order allow,deny
  23.     Allow from all
  24.     AuthName DAV-upload
  25.  
  26.     # You can use the htdigest program to create the password database:
  27.     # \xampp\apache\bin\htdigest -c "\xampp\security\htpasswd.webdav" "XAMPP with WebDAV" user
  28.     # AuthType Digest
  29.     # AuthDigestDomain / http://localhost/
  30.  
  31.     # Here with htpasswd and md5
  32.     # \xampp\apache\bin\htpasswd -b \xampp\security\htpasswd.webdav user
  33.     AuthType Basic
  34.     AuthUserFile "/xampp/security/htpasswd.webdav"
  35.  
  36.        <LimitExcept GET HEAD OPTIONS>
  37.         require valid-user
  38.        </LimitExcept>
  39. </Directory>
  40. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
  41. BrowserMatch "MS FrontPage" redirect-carefully
  42. BrowserMatch "^WebDrive" redirect-carefully
  43. BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
  44. BrowserMatch "^gnome-vfs/1.0" redirect-carefully
  45. BrowserMatch "^XML Spy" redirect-carefully
  46. BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
  47. BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
  48. </IfModule>
  49. </IfModule>
  50. </IfModule>
  51. </IfModule>
  52.  
  53.